<div class="user_header user_files w100 ">
    <div class="block2 mr20">
        <ul class="layui-nav layui-nav-tree layui-inline w100 act-nav" lay-bar="disabled">
            <li class="layui-nav-item overview" >
                <a href="/activity/user/activity/[id]/overview.html" ><img class="b1" src="__ROOT__/public/activity/images/list.png"><span>总览</span></a>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:;"><img class="b1" src="__ROOT__/public/activity/images/list2.png"><span>编辑活动</span></a>
                <dl class="layui-nav-child">
                    <dd><a class="theme" href="/activity/user/activity/[id]/theme.html">主题</a></dd>
                    <dd><a class="type" href="/activity/user/activity/[id]/type.html">类别</a></dd>
                    <dd><a class="info" href="/activity/user/activity/[id]/info.html">基本资讯</a></dd>
                    <dd><a class="content" href="/activity/user/activity/[id]/content.html">活动内容</a></dd>
                    <dd><a class="guest" href="/activity/user/activity/[id]/guest.html">嘉宾</a></dd>
                    <dd><a class="ticket" href="/activity/user/activity/[id]/ticket.html">票券设定</a></dd>
                    <dd><a class="group" href="/activity/user/activity/[id]/group.html">票券分组</a></dd>
                    <dd><a class="advanced" href="/activity/user/activity/[id]/advanced.html">进阶设置</a></dd>
                    <dd><a class="diy" href="/activity/user/activity/[id]/diy.html">报名表</a></dd>
                    <dd><a class="pay" href="/activity/user/activity/[id]/pay.html">支付设置</a></dd>
                    <dd><a class="refund" href="/activity/user/activity/[id]/refund.html">退款设置</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item user_ticket">
                <a href="user_ticket.html"><img class="b1" src="__ROOT__/public/activity/images/list.png"><span>票券资讯</span></a>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:;"><img class="b1" src="__ROOT__/public/activity/images/list.png"><span>参加人</span></a>
                <dl class="layui-nav-child">
                    <dd><a class="par_tick" href="/activity/user/activity/[id]/user_active_par_tick.html">主动出票</a></dd>
                    <dd><a class="par_notice" href="/activity/user/activity/[id]/user_active_par_notice.html">活动通知</a></dd>
                    <dd><a class="user_active_par_list" href="user_active_par_list.html">参加名单</a></dd>
                </dl>
            </li>

        </ul>
    </div>
</div>
<style>
    .layui-nav-tree .layui-nav-child dd.layui-this, .layui-nav-tree .layui-nav-child dd.layui-this a, .layui-nav-tree .layui-this, .layui-nav-tree .layui-this>a, .layui-nav-tree .layui-this>a:hover {
        background-color: #fff!important;
    }
</style>
<script>
    $(function (){
        var menu = '[menu]';
        var elem =$('.act-nav .'+menu);
        elem.addClass('layui-this');
        elem.parents('li').addClass('layui-this').addClass('layui-nav-itemed').siblings('.layui-nav-item').removeClass('layui-nav-itemed');
        if(menu == 'user_ticket'){
            elem.addClass('layui-nav-itemed').siblings('.layui-nav-item').removeClass('layui-nav-itemed');
        }
        if(menu == 'par_tick'){
            elem.parents('li').addClass('layui-this').addClass('layui-nav-itemed').siblings('.layui-nav-item').removeClass('layui-nav-itemed');
        }
    })
</script>